package cn.cau.epidemicsurveysystem.service;

import cn.cau.epidemicsurveysystem.bean.AreaStatisticsBean;
import cn.cau.epidemicsurveysystem.bean.MonthStatisticsBean;
import cn.cau.epidemicsurveysystem.bean.WeekStatisticsBean;
import cn.cau.epidemicsurveysystem.dao.WeekStatisticsRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

public interface StatisticsService {

    List<WeekStatisticsBean> findWeekStatisticsByCntAndType(int cnt,int type);

    List<MonthStatisticsBean> findMonthStatisticsByYearAndType(int year,int type);

    List<AreaStatisticsBean> findAreaStatisticsByType(int type);
}
